﻿using System;
using System.Collections.Generic;
using System.Data;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace Admin
{
    public partial class Right : BaseCommon.BasePage
    {
        protected string gangweiName = string.Empty;
        protected string departmentName = string.Empty;

        protected void Page_Load(object sender, EventArgs e)
        {
            DataTable dtGangwei = TaxBiz.User.PowerInfoBiz.GetGangweiList();
            gangweiName = BaseData.Common.TableHelper.GetStringValueFromTable(dtGangwei, "UserType="+UserLogin.UserType.Value, "TypeName");
            TaxEntity.SysConfig.DepartmentEntity de = new TaxBiz.SysConfig.DepartmentBiz().GetEntityById(UserLogin.DepartmentID);
            if (de != null)
            {
                departmentName = de.Name;
            }
        }
    }
}